Class DlpJob.Builder (3.46.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
Type Description
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
Name Description
value ActionDetails
Returns
Type Description
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
Name Description
builderForValue ActionDetails.Builder
Returns
Type Description
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
Name Description
index int
value ActionDetails
Returns
Type Description
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
Name Description
index int
builderForValue ActionDetails.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.ActionDetails>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.Error>
Returns
Type Description
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
Name Description
value Error
Returns
Type Description
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
Name Description
builderForValue Error.Builder
Returns
Type Description
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
Name Description
index int
value Error
Returns
Type Description
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
Name Description
index int
builderForValue Error.Builder
Returns
Type Description
DlpJob.Builder

addErrorsBuilder()

public Error.Builder addErrorsBuilder()

A stream of errors encountered running the job.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
Error.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DlpJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DlpJob.Builder
Overrides

build()

public DlpJob build()
Returns
Type Description
DlpJob

buildPartial()

public DlpJob buildPartial()
Returns
Type Description
DlpJob

clear()

public DlpJob.Builder clear()
Returns
Type Description
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
Type Description
DlpJob.Builder

clearCreateTime()

public DlpJob.Builder clearCreateTime()

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Returns
Type Description
DlpJob.Builder

clearDetails()

public DlpJob.Builder clearDetails()
Returns
Type Description
DlpJob.Builder

clearEndTime()

public DlpJob.Builder clearEndTime()

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Returns
Type Description
DlpJob.Builder

clearErrors()

public DlpJob.Builder clearErrors()

A stream of errors encountered running the job.

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

Returns
Type Description
DlpJob.Builder

clearField(Descriptors.FieldDescriptor field)

public DlpJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DlpJob.Builder
Overrides

clearInspectDetails()

public DlpJob.Builder clearInspectDetails()

Results from inspecting a data source.

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

Returns
Type Description
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
Type Description
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
Type Description
DlpJob.Builder

clearName()

public DlpJob.Builder clearName()

The server-assigned name.

string name = 1;

Returns
Type Description
DlpJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DlpJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
DlpJob.Builder

clearStartTime()

public DlpJob.Builder clearStartTime()

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Returns
Type Description
DlpJob.Builder

clearState()

public DlpJob.Builder clearState()

State of a job.

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

Returns
Type Description
DlpJob.Builder

This builder for chaining.

clearType()

public DlpJob.Builder clearType()

The type of job.

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

Returns
Type Description
DlpJob.Builder

This builder for chaining.

clone()

public DlpJob.Builder clone()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public DlpJob getDefaultInstanceForType()
Returns
Type Description
DlpJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDetailsCase()

public DlpJob.DetailsCase getDetailsCase()
Returns
Type Description
DlpJob.DetailsCase

getEndTime()

public Timestamp getEndTime()

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<Builder>

getErrorsCount()

public int getErrorsCount()

A stream of errors encountered running the job.

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

Returns
Type Description
int

getErrorsList()

public List<Error> getErrorsList()

A stream of errors encountered running the job.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends ErrorOrBuilder> getErrorsOrBuilderList()

A stream of errors encountered running the job.

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

Returns
Type Description
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
Type Description
InspectDataSourceDetails

The inspectDetails.

getInspectDetailsBuilder()

public InspectDataSourceDetails.Builder getInspectDetailsBuilder()

Results from inspecting a data source.

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

Returns
Type Description
InspectDataSourceDetails.Builder

getInspectDetailsOrBuilder()

public InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder()

Results from inspecting a data source.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Builder

getLastModifiedOrBuilder()

public TimestampOrBuilder getLastModifiedOrBuilder()

Time when the job was last modified by the system.

.google.protobuf.Timestamp last_modified = 15;

Returns
Type Description
TimestampOrBuilder

getName()

public String getName()

The server-assigned name.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The server-assigned name.

string name = 1;

Returns
Type Description
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
Type Description
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
Type Description
AnalyzeDataSourceRiskDetails.Builder

getRiskDetailsOrBuilder()

public AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder()

Results from analyzing risk of a data source.

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

Returns
Type Description
AnalyzeDataSourceRiskDetailsOrBuilder

getStartTime()

public Timestamp getStartTime()

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Returns
Type Description
TimestampOrBuilder

getState()

public DlpJob.JobState getState()

State of a job.

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

Returns
Type Description
DlpJob.JobState

The state.

getStateValue()

public int getStateValue()

State of a job.

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

Returns
Type Description
int

The enum numeric value on the wire for state.

getType()

public DlpJobType getType()

The type of job.

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

Returns
Type Description
DlpJobType

The type.

getTypeValue()

public int getTypeValue()

The type of job.

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

Returns
Type Description
int

The enum numeric value on the wire for type.

hasCreateTime()

public boolean hasCreateTime()

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

public boolean hasEndTime()

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Returns
Type Description
boolean

Whether the endTime field is set.

hasInspectDetails()

public boolean hasInspectDetails()

Results from inspecting a data source.

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

Returns
Type Description
boolean

Whether the inspectDetails field is set.

hasLastModified()

public boolean hasLastModified()

Time when the job was last modified by the system.

.google.protobuf.Timestamp last_modified = 15;

Returns
Type Description
boolean

Whether the lastModified field is set.

hasRiskDetails()

public boolean hasRiskDetails()

Results from analyzing risk of a data source.

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

Returns
Type Description
boolean

Whether the riskDetails field is set.

hasStartTime()

public boolean hasStartTime()

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public DlpJob.Builder mergeCreateTime(Timestamp value)

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
DlpJob.Builder

mergeEndTime(Timestamp value)

public DlpJob.Builder mergeEndTime(Timestamp value)

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Parameter
Name Description
value Timestamp
Returns
Type Description
DlpJob.Builder

mergeFrom(DlpJob other)

public DlpJob.Builder mergeFrom(DlpJob other)
Parameter
Name Description
other DlpJob
Returns
Type Description
DlpJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DlpJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DlpJob.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DlpJob.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DlpJob.Builder
Overrides

mergeInspectDetails(InspectDataSourceDetails value)

public DlpJob.Builder mergeInspectDetails(InspectDataSourceDetails value)

Results from inspecting a data source.

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

Parameter
Name Description
value InspectDataSourceDetails
Returns
Type Description
DlpJob.Builder

mergeLastModified(Timestamp value)

public DlpJob.Builder mergeLastModified(Timestamp value)

Time when the job was last modified by the system.

.google.protobuf.Timestamp last_modified = 15;

Parameter
Name Description
value Timestamp
Returns
Type Description
DlpJob.Builder

mergeRiskDetails(AnalyzeDataSourceRiskDetails value)

public DlpJob.Builder mergeRiskDetails(AnalyzeDataSourceRiskDetails value)

Results from analyzing risk of a data source.

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

Parameter
Name Description
value AnalyzeDataSourceRiskDetails
Returns
Type Description
DlpJob.Builder

mergeStartTime(Timestamp value)

public DlpJob.Builder mergeStartTime(Timestamp value)

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
DlpJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DlpJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DlpJob.Builder
Overrides

removeActionDetails(int index)

public DlpJob.Builder removeActionDetails(int index)

Events that should occur after the job has completed.

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

Parameter
Name Description
index int
Returns
Type Description
DlpJob.Builder

removeErrors(int index)

public DlpJob.Builder removeErrors(int index)

A stream of errors encountered running the job.

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

Parameter
Name Description
index int
Returns
Type Description
DlpJob.Builder

setActionDetails(int index, ActionDetails value)

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

Events that should occur after the job has completed.

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

Parameters
Name Description
index int
value ActionDetails
Returns
Type Description
DlpJob.Builder

setActionDetails(int index, ActionDetails.Builder builderForValue)

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

Events that should occur after the job has completed.

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

Parameters
Name Description
index int
builderForValue ActionDetails.Builder
Returns
Type Description
DlpJob.Builder

setCreateTime(Timestamp value)

public DlpJob.Builder setCreateTime(Timestamp value)

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
DlpJob.Builder

setCreateTime(Timestamp.Builder builderForValue)

public DlpJob.Builder setCreateTime(Timestamp.Builder builderForValue)

Time when the job was created.

.google.protobuf.Timestamp create_time = 6;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DlpJob.Builder

setEndTime(Timestamp value)

public DlpJob.Builder setEndTime(Timestamp value)

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Parameter
Name Description
value Timestamp
Returns
Type Description
DlpJob.Builder

setEndTime(Timestamp.Builder builderForValue)

public DlpJob.Builder setEndTime(Timestamp.Builder builderForValue)

Time when the job finished.

.google.protobuf.Timestamp end_time = 8;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DlpJob.Builder

setErrors(int index, Error value)

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

A stream of errors encountered running the job.

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

Parameters
Name Description
index int
value Error
Returns
Type Description
DlpJob.Builder

setErrors(int index, Error.Builder builderForValue)

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

A stream of errors encountered running the job.

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

Parameters
Name Description
index int
builderForValue Error.Builder
Returns
Type Description
DlpJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DlpJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DlpJob.Builder
Overrides

setInspectDetails(InspectDataSourceDetails value)

public DlpJob.Builder setInspectDetails(InspectDataSourceDetails value)

Results from inspecting a data source.

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

Parameter
Name Description
value InspectDataSourceDetails
Returns
Type Description
DlpJob.Builder

setInspectDetails(InspectDataSourceDetails.Builder builderForValue)

public DlpJob.Builder setInspectDetails(InspectDataSourceDetails.Builder builderForValue)

Results from inspecting a data source.

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

Parameter
Name Description
builderForValue InspectDataSourceDetails.Builder
Returns
Type Description
DlpJob.Builder

setJobTriggerName(String value)

public DlpJob.Builder setJobTriggerName(String value)

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

string job_trigger_name = 10;

Parameter
Name Description
value String

The jobTriggerName to set.

Returns
Type Description
DlpJob.Builder

This builder for chaining.

setJobTriggerNameBytes(ByteString value)

public DlpJob.Builder setJobTriggerNameBytes(ByteString value)

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

string job_trigger_name = 10;

Parameter
Name Description
value ByteString

The bytes for jobTriggerName to set.

Returns
Type Description
DlpJob.Builder

This builder for chaining.

setLastModified(Timestamp value)

public DlpJob.Builder setLastModified(Timestamp value)

Time when the job was last modified by the system.

.google.protobuf.Timestamp last_modified = 15;

Parameter
Name Description
value Timestamp
Returns
Type Description
DlpJob.Builder

setLastModified(Timestamp.Builder builderForValue)

public DlpJob.Builder setLastModified(Timestamp.Builder builderForValue)

Time when the job was last modified by the system.

.google.protobuf.Timestamp last_modified = 15;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DlpJob.Builder

setName(String value)

public DlpJob.Builder setName(String value)

The server-assigned name.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DlpJob.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DlpJob.Builder setNameBytes(ByteString value)

The server-assigned name.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DlpJob.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DlpJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DlpJob.Builder
Overrides

setRiskDetails(AnalyzeDataSourceRiskDetails value)

public DlpJob.Builder setRiskDetails(AnalyzeDataSourceRiskDetails value)

Results from analyzing risk of a data source.

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

Parameter
Name Description
value AnalyzeDataSourceRiskDetails
Returns
Type Description
DlpJob.Builder

setRiskDetails(AnalyzeDataSourceRiskDetails.Builder builderForValue)

public DlpJob.Builder setRiskDetails(AnalyzeDataSourceRiskDetails.Builder builderForValue)

Results from analyzing risk of a data source.

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

Parameter
Name Description
builderForValue AnalyzeDataSourceRiskDetails.Builder
Returns
Type Description
DlpJob.Builder

setStartTime(Timestamp value)

public DlpJob.Builder setStartTime(Timestamp value)

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
DlpJob.Builder

setStartTime(Timestamp.Builder builderForValue)

public DlpJob.Builder setStartTime(Timestamp.Builder builderForValue)

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DlpJob.Builder

setState(DlpJob.JobState value)

public DlpJob.Builder setState(DlpJob.JobState value)

State of a job.

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

Parameter
Name Description
value DlpJob.JobState

The state to set.

Returns
Type Description
DlpJob.Builder

This builder for chaining.

setStateValue(int value)

public DlpJob.Builder setStateValue(int value)

State of a job.

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

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
DlpJob.Builder

This builder for chaining.

setType(DlpJobType value)

public DlpJob.Builder setType(DlpJobType value)

The type of job.

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

Parameter
Name Description
value DlpJobType

The type to set.

Returns
Type Description
DlpJob.Builder

This builder for chaining.

setTypeValue(int value)

public DlpJob.Builder setTypeValue(int value)

The type of job.

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

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
DlpJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DlpJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DlpJob.Builder
Overrides