Class DlpJob (3.57.0)

public final class DlpJob extends GeneratedMessageV3 implements DlpJobOrBuilder

Combines all of the information about a DLP job.

Protobuf type google.privacy.dlp.v2.DlpJob

Implements

DlpJobOrBuilder

Static Fields

ACTION_DETAILS_FIELD_NUMBER

public static final int ACTION_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
Type Description
int

INSPECT_DETAILS_FIELD_NUMBER

public static final int INSPECT_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

JOB_TRIGGER_NAME_FIELD_NUMBER

public static final int JOB_TRIGGER_NAME_FIELD_NUMBER
Field Value
Type Description
int

LAST_MODIFIED_FIELD_NUMBER

public static final int LAST_MODIFIED_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RISK_DETAILS_FIELD_NUMBER

public static final int RISK_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DlpJob getDefaultInstance()
Returns
Type Description
DlpJob

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DlpJob.Builder newBuilder()
Returns
Type Description
DlpJob.Builder

newBuilder(DlpJob prototype)

public static DlpJob.Builder newBuilder(DlpJob prototype)
Parameter
Name Description
prototype DlpJob
Returns
Type Description
DlpJob.Builder

parseDelimitedFrom(InputStream input)

public static DlpJob parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DlpJob
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DlpJob parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DlpJob
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DlpJob parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DlpJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DlpJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DlpJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DlpJob parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DlpJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DlpJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DlpJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DlpJob parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DlpJob
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DlpJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DlpJob
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DlpJob parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DlpJob
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DlpJob parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DlpJob
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DlpJob parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DlpJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DlpJob parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DlpJob
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DlpJob> parser()
Returns
Type Description
Parser<DlpJob>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

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

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.

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

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.

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.

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.

getParserForType()

public Parser<DlpJob> getParserForType()
Returns
Type Description
Parser<DlpJob>
Overrides

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.

getRiskDetailsOrBuilder()

public AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder()

Results from analyzing risk of a data source.

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

Returns
Type Description
AnalyzeDataSourceRiskDetailsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Time when the job started.

.google.protobuf.Timestamp start_time = 7;

Returns
Type Description
Timestamp

The startTime.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DlpJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DlpJob.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException