Class DlpJob.Builder (3.45.0)

public static final class DlpJob.Builder extends GeneratedMessageV3.Builder<DlpJob.Builder> implements DlpJobOrBuilder

Combines all of the information about a DLP job.

Protobuf type google.privacy.dlp.v2.DlpJob

Implements

DlpJobOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addActionDetails(ActionDetails value)

public DlpJob.Builder addActionDetails(ActionDetails value)

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Parameter
NameDescription
valueActionDetails
Returns
TypeDescription
DlpJob.Builder

addActionDetails(ActionDetails.Builder builderForValue)

public DlpJob.Builder addActionDetails(ActionDetails.Builder builderForValue)

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Parameter
NameDescription
builderForValueActionDetails.Builder
Returns
TypeDescription
DlpJob.Builder

addActionDetails(int index, ActionDetails value)

public DlpJob.Builder addActionDetails(int index, ActionDetails value)

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Parameters
NameDescription
indexint
valueActionDetails
Returns
TypeDescription
DlpJob.Builder

addActionDetails(int index, ActionDetails.Builder builderForValue)

public DlpJob.Builder addActionDetails(int index, ActionDetails.Builder builderForValue)

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Parameters
NameDescription
indexint
builderForValueActionDetails.Builder
Returns
TypeDescription
DlpJob.Builder

addActionDetailsBuilder()

public ActionDetails.Builder addActionDetailsBuilder()

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Returns
TypeDescription
ActionDetails.Builder

addActionDetailsBuilder(int index)

public ActionDetails.Builder addActionDetailsBuilder(int index)

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionDetails.Builder

addAllActionDetails(Iterable<? extends ActionDetails> values)

public DlpJob.Builder addAllActionDetails(Iterable<? extends ActionDetails> values)

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Parameter
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.ActionDetails>
Returns
TypeDescription
DlpJob.Builder

addAllErrors(Iterable<? extends Error> values)

public DlpJob.Builder addAllErrors(Iterable<? extends Error> values)

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Parameter
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.Error>
Returns
TypeDescription
DlpJob.Builder

addErrors(Error value)

public DlpJob.Builder addErrors(Error value)

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Parameter
NameDescription
valueError
Returns
TypeDescription
DlpJob.Builder

addErrors(Error.Builder builderForValue)

public DlpJob.Builder addErrors(Error.Builder builderForValue)

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Parameter
NameDescription
builderForValueError.Builder
Returns
TypeDescription
DlpJob.Builder

addErrors(int index, Error value)

public DlpJob.Builder addErrors(int index, Error value)

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Parameters
NameDescription
indexint
valueError
Returns
TypeDescription
DlpJob.Builder

addErrors(int index, Error.Builder builderForValue)

public DlpJob.Builder addErrors(int index, Error.Builder builderForValue)

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Parameters
NameDescription
indexint
builderForValueError.Builder
Returns
TypeDescription
DlpJob.Builder

addErrorsBuilder()

public Error.Builder addErrorsBuilder()

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Returns
TypeDescription
Error.Builder

addErrorsBuilder(int index)

public Error.Builder addErrorsBuilder(int index)

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
Error.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DlpJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DlpJob.Builder
Overrides

build()

public DlpJob build()
Returns
TypeDescription
DlpJob

buildPartial()

public DlpJob buildPartial()
Returns
TypeDescription
DlpJob

clear()

public DlpJob.Builder clear()
Returns
TypeDescription
DlpJob.Builder
Overrides

clearActionDetails()

public DlpJob.Builder clearActionDetails()

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Returns
TypeDescription
DlpJob.Builder

clearCreateTime()

public DlpJob.Builder clearCreateTime()

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
DlpJob.Builder

clearDetails()

public DlpJob.Builder clearDetails()
Returns
TypeDescription
DlpJob.Builder

clearEndTime()

public DlpJob.Builder clearEndTime()

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Returns
TypeDescription
DlpJob.Builder

clearErrors()

public DlpJob.Builder clearErrors()

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Returns
TypeDescription
DlpJob.Builder

clearField(Descriptors.FieldDescriptor field)

public DlpJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DlpJob.Builder
Overrides

clearInspectDetails()

public DlpJob.Builder clearInspectDetails()

Results from inspecting a data source.

.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;

Returns
TypeDescription
DlpJob.Builder

clearJobTriggerName()

public DlpJob.Builder clearJobTriggerName()

If created by a job trigger, the resource name of the trigger that instantiated the job.

string job_trigger_name = 10;

Returns
TypeDescription
DlpJob.Builder

This builder for chaining.

clearLastModified()

public DlpJob.Builder clearLastModified()

Time when the job was last modified by the system.

.google.protobuf.Timestamp last_modified = 15;

Returns
TypeDescription
DlpJob.Builder

clearName()

public DlpJob.Builder clearName()

The server-assigned name.

string name = 1;

Returns
TypeDescription
DlpJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DlpJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DlpJob.Builder
Overrides

clearRiskDetails()

public DlpJob.Builder clearRiskDetails()

Results from analyzing risk of a data source.

.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;

Returns
TypeDescription
DlpJob.Builder

clearStartTime()

public DlpJob.Builder clearStartTime()

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Returns
TypeDescription
DlpJob.Builder

clearState()

public DlpJob.Builder clearState()

State of a job.

.google.privacy.dlp.v2.DlpJob.JobState state = 3;

Returns
TypeDescription
DlpJob.Builder

This builder for chaining.

clearType()

public DlpJob.Builder clearType()

The type of job.

.google.privacy.dlp.v2.DlpJobType type = 2;

Returns
TypeDescription
DlpJob.Builder

This builder for chaining.

clone()

public DlpJob.Builder clone()
Returns
TypeDescription
DlpJob.Builder
Overrides

getActionDetails(int index)

public ActionDetails getActionDetails(int index)

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionDetails

getActionDetailsBuilder(int index)

public ActionDetails.Builder getActionDetailsBuilder(int index)

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionDetails.Builder

getActionDetailsBuilderList()

public List<ActionDetails.Builder> getActionDetailsBuilderList()

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Returns
TypeDescription
List<Builder>

getActionDetailsCount()

public int getActionDetailsCount()

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Returns
TypeDescription
int

getActionDetailsList()

public List<ActionDetails> getActionDetailsList()

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Returns
TypeDescription
List<ActionDetails>

getActionDetailsOrBuilder(int index)

public ActionDetailsOrBuilder getActionDetailsOrBuilder(int index)

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
ActionDetailsOrBuilder

getActionDetailsOrBuilderList()

public List<? extends ActionDetailsOrBuilder> getActionDetailsOrBuilderList()

Events that should occur after the job has completed.

repeated .google.privacy.dlp.v2.ActionDetails action_details = 12;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.ActionDetailsOrBuilder>

getCreateTime()

public Timestamp getCreateTime()

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public DlpJob getDefaultInstanceForType()
Returns
TypeDescription
DlpJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetailsCase()

public DlpJob.DetailsCase getDetailsCase()
Returns
TypeDescription
DlpJob.DetailsCase

getEndTime()

public Timestamp getEndTime()

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Returns
TypeDescription
TimestampOrBuilder

getErrors(int index)

public Error getErrors(int index)

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
Error

getErrorsBuilder(int index)

public Error.Builder getErrorsBuilder(int index)

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
Error.Builder

getErrorsBuilderList()

public List<Error.Builder> getErrorsBuilderList()

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Returns
TypeDescription
List<Builder>

getErrorsCount()

public int getErrorsCount()

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Returns
TypeDescription
int

getErrorsList()

public List<Error> getErrorsList()

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Returns
TypeDescription
List<Error>

getErrorsOrBuilder(int index)

public ErrorOrBuilder getErrorsOrBuilder(int index)

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Parameter
NameDescription
indexint
Returns
TypeDescription
ErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends ErrorOrBuilder> getErrorsOrBuilderList()

A stream of errors encountered running the job.

repeated .google.privacy.dlp.v2.Error errors = 11;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.ErrorOrBuilder>

getInspectDetails()

public InspectDataSourceDetails getInspectDetails()

Results from inspecting a data source.

.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;

Returns
TypeDescription
InspectDataSourceDetails

The inspectDetails.

getInspectDetailsBuilder()

public InspectDataSourceDetails.Builder getInspectDetailsBuilder()

Results from inspecting a data source.

.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;

Returns
TypeDescription
InspectDataSourceDetails.Builder

getInspectDetailsOrBuilder()

public InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder()

Results from inspecting a data source.

.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;

Returns
TypeDescription
InspectDataSourceDetailsOrBuilder

getJobTriggerName()

public String getJobTriggerName()

If created by a job trigger, the resource name of the trigger that instantiated the job.

string job_trigger_name = 10;

Returns
TypeDescription
String

The jobTriggerName.

getJobTriggerNameBytes()

public ByteString getJobTriggerNameBytes()

If created by a job trigger, the resource name of the trigger that instantiated the job.

string job_trigger_name = 10;

Returns
TypeDescription
ByteString

The bytes for jobTriggerName.

getLastModified()

public Timestamp getLastModified()

Time when the job was last modified by the system.

.google.protobuf.Timestamp last_modified = 15;

Returns
TypeDescription
Timestamp

The lastModified.

getLastModifiedBuilder()

public Timestamp.Builder getLastModifiedBuilder()

Time when the job was last modified by the system.

.google.protobuf.Timestamp last_modified = 15;

Returns
TypeDescription
Builder

getLastModifiedOrBuilder()

public TimestampOrBuilder getLastModifiedOrBuilder()

Time when the job was last modified by the system.

.google.protobuf.Timestamp last_modified = 15;

Returns
TypeDescription
TimestampOrBuilder

getName()

public String getName()

The server-assigned name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The server-assigned name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getRiskDetails()

public AnalyzeDataSourceRiskDetails getRiskDetails()

Results from analyzing risk of a data source.

.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;

Returns
TypeDescription
AnalyzeDataSourceRiskDetails

The riskDetails.

getRiskDetailsBuilder()

public AnalyzeDataSourceRiskDetails.Builder getRiskDetailsBuilder()

Results from analyzing risk of a data source.

.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;

Returns
TypeDescription
AnalyzeDataSourceRiskDetails.Builder

getRiskDetailsOrBuilder()

public AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder()

Results from analyzing risk of a data source.

.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;

Returns
TypeDescription
AnalyzeDataSourceRiskDetailsOrBuilder

getStartTime()

public Timestamp getStartTime()

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Returns
TypeDescription